package com.rizzo.web.captcha;

import com.octo.captcha.service.image.DefaultManageableImageCaptchaService;
import com.octo.captcha.service.image.ImageCaptchaService;

/**
 * Class CaptchaServiceSingleton ...
 *
 * @author Jan Lievens
 */
public class CaptchaServiceSingleton {

    /**
     * Field instance
     */
    private static ImageCaptchaService instance = new DefaultManageableImageCaptchaService();

    /**
     * Method getInstance returns the instance of this CaptchaServiceSingleton object.
     *
     * @return the instance (type ImageCaptchaService) of this CaptchaServiceSingleton object.
     */
    public static ImageCaptchaService getInstance() {
        return instance;
    }
}